//
// Created by HP on 2024/3/16.
//

#ifndef AURORA_ST_AURORA_MENU_H
#define AURORA_ST_AURORA_MENU_H


#include "common_inc.h"
#include "lcd_driver.h"
#include "aurora_font.h"
#include "aurora_label.h"
class Aurora_Menu{


public:
    Aurora_Menu(LCD_Driver *lcd_s,Aurora_Font *font_s);
    void Init();

    void add_Driver(LCD_Driver *lcd_s,Aurora_Font *font_s);
    void addLCD_Driver(LCD_Driver *lcd_s);
    void addFont_Driver(Aurora_Font *font_s);


    void switch_next_label();
    void switch_prev_label();



    uint8_t get_curr_menu();
private:
#define MAX_INDEX   4
private:
    Aurora_Label title_label;    //标题
    Aurora_Label menu_label[MAX_INDEX]; //menulabel


    uint8_t selelct_index;
private:
    LCD_Driver *_lcd;
    Aurora_Font *_font;
};

#endif //AURORA_ST_AURORA_MENU_H
